package com.ruoyi.mushcoin.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.excel.annotation.ExcelDictFormat;
import com.ruoyi.common.excel.convert.ExcelDictConvert;
import com.ruoyi.common.orm.core.domain.BaseEntity;
import com.ruoyi.mushcoin.domain.TgUserTaskManage;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * 用户任务管理(H5)视图对象 tg_user_task_manage
 *
 * @author billy
 * @date 2024-09-04
 */
@Data
@ExcelIgnoreUnannotated
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = TgUserTaskManage.class)
public class TgUserTaskManageVo extends BaseEntity implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键ID=9开始
     */
    @ExcelProperty(value = "主键ID=9开始")
    private Long id;

    /**
     * 任务名称
     */
    @ExcelProperty(value = "任务名称")
    private String taskName;

    /**
     * 任务奖励
     */
    @ExcelProperty(value = "任务奖励")
    private Long taskRewards;

    /**
     * 任务链接
     */
    @ExcelProperty(value = "任务链接")
    private String taskUrl;

    /**
     * logo图标
     */
    @ExcelProperty(value = "logo图标")
    private String iconImg;

    /** 任务分组 **/
    private String taskGroup;
    /** 有效天数 **/
    private Integer validDays;


    /** 是否停用（0否 1是） */
    @ExcelProperty(value = "是否停用", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_normal_disable")
    private Integer disableStatus;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;


}
